
<?php 
    if($template->get('aProduct')){$aProduct = $template->get('aProduct'); ?>
    <div class="item layout1_product_layout  <?php echo (isset($aProduct['isHightLight']) ? 'item_hightlight' : ''); ?>" val="<?php echo $aProduct['uri']; ?>">
        <div class="image_content">
            <a href="<?php echo $aProduct['uri']; ?>"><img src="<?php echo URL::getLink('upload/'.(isset($aProduct['hightLightImage']) ? $aProduct['hightLightImage'] : $aProduct['image'])); ?>" alt=""></a>
        </div>
        <div class="item_info">
            <p><a href="<?php echo $aProduct['uri']; ?>"><strong><?php echo $aProduct['name']; ?></strong></a></p>
            <p class="price">Gia: <?php echo $aProduct['price']; ?> VND</p>
        </div>
        <div class="hightlight"></div>
        <?php echo ($template->get('title') ? '<div class="item_title">'. $template->get('title').'</div>' : ''); ?>
    </div>
<?php } ?>